package com.zyong.design.pattern.visitor.case2;

/**
 * @program: zyong-design-pattern
 * @ClassName: FailPerformance
 * @author: zyong
 * @create: 2024-03-29 00:20
 */
public class FailPerformance implements SingerPerformance {
    private static final String EVALUATION = "表演比较失败";

    @Override
    public void performanceEvaluation(Man man) {
        System.out.println("Man = " + man.getName() + " 对歌手的表演评价是 = " + EVALUATION);
    }

    @Override
    public void performanceEvaluation(Women women) {
        System.out.println("Women = " + women.getName() + " 对歌手的表演评价是 = " + EVALUATION);
    }
}
